<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/pages/common/taglibs.jsp"%>
<%@include file="/pages/common/extjs.jsp"%>
<html>
<head>
<title>数据业务管理平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK href="${ctx}/css/skin/style/styles.css" type='text/css' rel='stylesheet'>
<script language="Javascript">
function scrollit(seed){
	var m1 = "欢迎使用数据业务管理系统！";
	var msg=m1;
	var out = " ";
	var c = 1;
	if (seed > 100) {
		seed--;
		cmd="scrollit("+seed+")";
		timerTwo=window.setTimeout(cmd,100);
	}else if(seed <= 100 && seed > 0) {
		for (c=0 ; c < seed ; c++) {
			out+=" ";
		}
		out+=msg;
		seed--;
		window.status=out;
		cmd="scrollit("+seed+")";
		timerTwo=window.setTimeout(cmd,100);
	}else if (seed <= 0) {
		if (-seed < msg.length) {
			out+=msg.substring(-seed,msg.length);
			seed--;
			window.status=out;
			cmd="scrollit("+seed+")";
			timerTwo=window.setTimeout(cmd,100);
		}else {
			window.status=" ";
			timerTwo=window.setTimeout("scrollit(100)",75);
		}
	}
}
</script>
</head>
<body onload="scrollit(100)">
<script type="text/javascript">
	Ext.onReady(function() {
		Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
			var viewport = new Ext.Viewport({
			layout : 'border',
			items : [ new Ext.BoxComponent( { // raw
						region : 'north',
						el : 'north',
						height : 32
					}), {
				region : 'west',
				id : 'west-panel',
				title : '系统菜单',
				split : true,
				width : 200,
				minSize : 175,
				maxSize : 400,
				collapsible : true,
				margins : '0 0 0 5',
				layout : 'accordion',
				layoutConfig : {
					animate : true
				},
				items : [ 
				{
					title : '新闻管理',
					html : document.getElementById('xinwen').innerHTML,
					border : false,
					iconCls : 'article'
				} ,
				{
					title : '产品管理',
					html : document.getElementById('product').innerHTML,
					border : false,
					iconCls : 'article'
				} ,
				{
					title : '资料管理',
					html : document.getElementById('data').innerHTML,
					border : false,
					iconCls : 'article'
				} ,
				{
					title : '用户交流管理',
					html : document.getElementById('customer').innerHTML,
					border : false,
					iconCls : 'article'
				}
				]
			},

			{
				region:'center',
                contentEl: 'center',
                split:true,
                border:true,
                margins:'0 5 0 0'
			} ]
		});
	});
</script>
<%@include file="/pages/houtai/menu.jsp"%>
<div id="west"></div>
<div id="north" align="center" style="margin-top: 4px;">
<table width="100%" border="0">
	<tr>
		<td align="left"></td>
		<td align="right" style="color: #336699; padding-right: 20px">
		欢迎您：${user.mName} &nbsp;&nbsp;|&nbsp;&nbsp;
	<a href="${ctx}/pages/houtai/main.jsp" target="main"><img src="${ctx}/images/icons/house.gif">&nbsp;首页 </a>
		&nbsp;&nbsp;|&nbsp;&nbsp; <a
			href="${ctx}/login.do?method=doLogout" target="_self"
			style="color: #336699"> <img
			src="${ctx}/images/icons/lock_go.gif">&nbsp;注销 </a><br></br>
		</td>
	</tr>
</table>
</div>
<div id="center">
<iframe scrolling="auto"
	src="${ctx}/pages/houtai/main.jsp" id="main" name="main"
	style="width: 100%; height: 100%; border: 0px;" frameborder="0">
</iframe></div>
</body>
</html>
